package com.hjm.project.retainRewards.domain;

    import java.math.BigDecimal;
import java.util.Date;
import com.hjm.framework.aspectj.lang.annotation.Excel;
    import com.hjm.framework.web.domain.BaseEntity;
    import lombok.Data;
    import org.apache.commons.lang.builder.ToStringBuilder;
    import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 奖励留存对象 retain_rewards
 * 
 * @author maker-platform
 * @date 2024-04-15
 */
@Data
public class RetainRewards extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** pk_id */
    private Integer id;

    /** 代理号 */
    @Excel(name = "代理号")
    private String agentNum;

    /** 活动编号 */
    @Excel(name = "活动编号")
    private String actId;

    /** 类型 1通讯费 2服务费 3激活奖励 4达标奖励 5阶段达标奖励 */
    @Excel(name = "类型 1通讯费 2服务费 3激活奖励 4达标奖励 5阶段达标奖励")
    private Integer type;

    /** 阶段值 */
    @Excel(name = "阶段值")
    private Integer stage;

    /** 奖励留存金额（元） */
    @Excel(name = "奖励留存金额", readConverterExp = "元=")
    private BigDecimal retainedValue;

    /** 奖励总金额 */
    @Excel(name = "奖励总金额")
    private BigDecimal totalValue;

    /** 更新时间 */
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 开关 0关 1开 */
    @Excel(name = "开关 0关 1开")
    private Integer status;











    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("agentNum", getAgentNum())
            .append("actId", getActId())
            .append("type", getType())
            .append("stage", getStage())
            .append("retainedValue", getRetainedValue())
            .append("totalValue", getTotalValue())
            .append("updateDate", getUpdateDate())
            .append("status", getStatus())
            .toString();
    }
}
